<?php
$name = $_POST['name'];
$sex = $_POST['sex'];
$age = $_POST['age'];
include "PdoClass.php";
$res = new PdoClass;
$data = $res->add($name,$sex,$age);
header("location:show.php");
?>